package com.nercel.dsj.gksales.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author sunlin
 * @date 2018-12-14
 */
@Data
@ApiModel(value = "代理商模型")
public class AgentCreateParamsDTO {

	@ApiModelProperty(value = "手机号")
	@NotBlank(message="手机号不能为空")
	private String phone;

	@ApiModelProperty(value = "验证码")
	@NotBlank(message="验证码不能为空")
	private String vcode;

	@ApiModelProperty(value = "密码")
	private String password;

	@ApiModelProperty(value = "区域")
	@NotNull(message="区域不能为空")
	private Integer regionId;

	@ApiModelProperty(value = "备注")
	private String remark;

}
